package com.seeyon.apps.commonExt.domain;

import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.List;

public class UploadRes {

    @JsonProperty("n_a_s")
    private Long nAS;

    private List<Att> atts;

    public Long getNAS() {
        return nAS;
    }

    public void setNAS(Long value) {
        this.nAS = value;
    }

    public List<Att> getAtts() {
        return atts;
    }

    public void setAtts(List<Att> value) {
        this.atts = value;
    }

    public static class Att {
        private String id;
        private String reference;
        private String subReference;
        private Long category;
        private Long type;
        private String filename;
        private String mimeType;
        private String createdate;
        private String size;
        private String fileUrl;
        private String extension;
        private String icon;
        private String iconFont;
        private Long sort;
        private String officeTransformEnable;
        private String obsObjectKey;
        private String v;
        @JsonProperty("new")

        private boolean attNew;

        private Object extraMap;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getReference() {
            return reference;
        }

        public void setReference(String reference) {
            this.reference = reference;
        }

        public String getSubReference() {
            return subReference;
        }

        public void setSubReference(String subReference) {
            this.subReference = subReference;
        }

        public Long getCategory() {
            return category;
        }

        public void setCategory(Long category) {
            this.category = category;
        }

        public Long getType() {
            return type;
        }

        public void setType(Long type) {
            this.type = type;
        }

        public String getFilename() {
            return filename;
        }

        public void setFilename(String filename) {
            this.filename = filename;
        }

        public String getMimeType() {
            return mimeType;
        }

        public void setMimeType(String mimeType) {
            this.mimeType = mimeType;
        }

        public String getCreatedate() {
            return createdate;
        }

        public void setCreatedate(String createdate) {
            this.createdate = createdate;
        }

        public String getSize() {
            return size;
        }

        public void setSize(String size) {
            this.size = size;
        }

        public String getFileUrl() {
            return fileUrl;
        }

        public void setFileUrl(String fileUrl) {
            this.fileUrl = fileUrl;
        }

        public String getExtension() {
            return extension;
        }

        public void setExtension(String extension) {
            this.extension = extension;
        }

        public String getIcon() {
            return icon;
        }

        public void setIcon(String icon) {
            this.icon = icon;
        }

        public String getIconFont() {
            return iconFont;
        }

        public void setIconFont(String iconFont) {
            this.iconFont = iconFont;
        }

        public Long getSort() {
            return sort;
        }

        public void setSort(Long sort) {
            this.sort = sort;
        }

        public String getOfficeTransformEnable() {
            return officeTransformEnable;
        }

        public void setOfficeTransformEnable(String officeTransformEnable) {
            this.officeTransformEnable = officeTransformEnable;
        }

        public String getObsObjectKey() {
            return obsObjectKey;
        }

        public void setObsObjectKey(String obsObjectKey) {
            this.obsObjectKey = obsObjectKey;
        }

        public String getV() {
            return v;
        }

        public void setV(String v) {
            this.v = v;
        }

        public boolean isAttNew() {
            return attNew;
        }

        public void setAttNew(boolean attNew) {
            this.attNew = attNew;
        }

        public Object getExtraMap() {
            return extraMap;
        }

        public void setExtraMap(Object extraMap) {
            this.extraMap = extraMap;
        }
    }
}


